package com.igeekhome.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MonSendMonitorExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MonSendMonitorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNull() {
            addCriterion("send_time is null");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNotNull() {
            addCriterion("send_time is not null");
            return (Criteria) this;
        }

        public Criteria andSendTimeEqualTo(Date value) {
            addCriterion("send_time =", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotEqualTo(Date value) {
            addCriterion("send_time <>", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThan(Date value) {
            addCriterion("send_time >", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("send_time >=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThan(Date value) {
            addCriterion("send_time <", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThanOrEqualTo(Date value) {
            addCriterion("send_time <=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeIn(List<Date> values) {
            addCriterion("send_time in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotIn(List<Date> values) {
            addCriterion("send_time not in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeBetween(Date value1, Date value2) {
            addCriterion("send_time between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotBetween(Date value1, Date value2) {
            addCriterion("send_time not between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendNetworkIsNull() {
            addCriterion("send_network is null");
            return (Criteria) this;
        }

        public Criteria andSendNetworkIsNotNull() {
            addCriterion("send_network is not null");
            return (Criteria) this;
        }

        public Criteria andSendNetworkEqualTo(String value) {
            addCriterion("send_network =", value, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkNotEqualTo(String value) {
            addCriterion("send_network <>", value, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkGreaterThan(String value) {
            addCriterion("send_network >", value, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkGreaterThanOrEqualTo(String value) {
            addCriterion("send_network >=", value, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkLessThan(String value) {
            addCriterion("send_network <", value, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkLessThanOrEqualTo(String value) {
            addCriterion("send_network <=", value, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkLike(String value) {
            addCriterion("send_network like", value, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkNotLike(String value) {
            addCriterion("send_network not like", value, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkIn(List<String> values) {
            addCriterion("send_network in", values, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkNotIn(List<String> values) {
            addCriterion("send_network not in", values, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkBetween(String value1, String value2) {
            addCriterion("send_network between", value1, value2, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andSendNetworkNotBetween(String value1, String value2) {
            addCriterion("send_network not between", value1, value2, "sendNetwork");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryIsNull() {
            addCriterion("votes_delivery is null");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryIsNotNull() {
            addCriterion("votes_delivery is not null");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryEqualTo(Integer value) {
            addCriterion("votes_delivery =", value, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryNotEqualTo(Integer value) {
            addCriterion("votes_delivery <>", value, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryGreaterThan(Integer value) {
            addCriterion("votes_delivery >", value, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryGreaterThanOrEqualTo(Integer value) {
            addCriterion("votes_delivery >=", value, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryLessThan(Integer value) {
            addCriterion("votes_delivery <", value, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryLessThanOrEqualTo(Integer value) {
            addCriterion("votes_delivery <=", value, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryIn(List<Integer> values) {
            addCriterion("votes_delivery in", values, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryNotIn(List<Integer> values) {
            addCriterion("votes_delivery not in", values, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryBetween(Integer value1, Integer value2) {
            addCriterion("votes_delivery between", value1, value2, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andVotesDeliveryNotBetween(Integer value1, Integer value2) {
            addCriterion("votes_delivery not between", value1, value2, "votesDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryIsNull() {
            addCriterion("signed_for_delivery is null");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryIsNotNull() {
            addCriterion("signed_for_delivery is not null");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryEqualTo(String value) {
            addCriterion("signed_for_delivery =", value, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryNotEqualTo(String value) {
            addCriterion("signed_for_delivery <>", value, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryGreaterThan(String value) {
            addCriterion("signed_for_delivery >", value, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryGreaterThanOrEqualTo(String value) {
            addCriterion("signed_for_delivery >=", value, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryLessThan(String value) {
            addCriterion("signed_for_delivery <", value, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryLessThanOrEqualTo(String value) {
            addCriterion("signed_for_delivery <=", value, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryLike(String value) {
            addCriterion("signed_for_delivery like", value, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryNotLike(String value) {
            addCriterion("signed_for_delivery not like", value, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryIn(List<String> values) {
            addCriterion("signed_for_delivery in", values, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryNotIn(List<String> values) {
            addCriterion("signed_for_delivery not in", values, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryBetween(String value1, String value2) {
            addCriterion("signed_for_delivery between", value1, value2, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andSignedForDeliveryNotBetween(String value1, String value2) {
            addCriterion("signed_for_delivery not between", value1, value2, "signedForDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryIsNull() {
            addCriterion("no_signature_received_delivery is null");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryIsNotNull() {
            addCriterion("no_signature_received_delivery is not null");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryEqualTo(String value) {
            addCriterion("no_signature_received_delivery =", value, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryNotEqualTo(String value) {
            addCriterion("no_signature_received_delivery <>", value, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryGreaterThan(String value) {
            addCriterion("no_signature_received_delivery >", value, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryGreaterThanOrEqualTo(String value) {
            addCriterion("no_signature_received_delivery >=", value, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryLessThan(String value) {
            addCriterion("no_signature_received_delivery <", value, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryLessThanOrEqualTo(String value) {
            addCriterion("no_signature_received_delivery <=", value, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryLike(String value) {
            addCriterion("no_signature_received_delivery like", value, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryNotLike(String value) {
            addCriterion("no_signature_received_delivery not like", value, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryIn(List<String> values) {
            addCriterion("no_signature_received_delivery in", values, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryNotIn(List<String> values) {
            addCriterion("no_signature_received_delivery not in", values, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryBetween(String value1, String value2) {
            addCriterion("no_signature_received_delivery between", value1, value2, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoSignatureReceivedDeliveryNotBetween(String value1, String value2) {
            addCriterion("no_signature_received_delivery not between", value1, value2, "noSignatureReceivedDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryIsNull() {
            addCriterion("no_delivery_delivery is null");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryIsNotNull() {
            addCriterion("no_delivery_delivery is not null");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryEqualTo(String value) {
            addCriterion("no_delivery_delivery =", value, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryNotEqualTo(String value) {
            addCriterion("no_delivery_delivery <>", value, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryGreaterThan(String value) {
            addCriterion("no_delivery_delivery >", value, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryGreaterThanOrEqualTo(String value) {
            addCriterion("no_delivery_delivery >=", value, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryLessThan(String value) {
            addCriterion("no_delivery_delivery <", value, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryLessThanOrEqualTo(String value) {
            addCriterion("no_delivery_delivery <=", value, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryLike(String value) {
            addCriterion("no_delivery_delivery like", value, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryNotLike(String value) {
            addCriterion("no_delivery_delivery not like", value, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryIn(List<String> values) {
            addCriterion("no_delivery_delivery in", values, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryNotIn(List<String> values) {
            addCriterion("no_delivery_delivery not in", values, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryBetween(String value1, String value2) {
            addCriterion("no_delivery_delivery between", value1, value2, "noDeliveryDelivery");
            return (Criteria) this;
        }

        public Criteria andNoDeliveryDeliveryNotBetween(String value1, String value2) {
            addCriterion("no_delivery_delivery not between", value1, value2, "noDeliveryDelivery");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}